<?php

class AFViewModule extends AFModule
{
	public function __construct()
	{
		FN::walk(dirname(__FILE__) . AF_SEP . 'parts/', function($part){
			include_once $part;
		}, TRUE);
	}

/*	public function newDocument($id)
	{
		return new AFWebDocument($id);
	}

	public function newElement($element)
	{
		return new AFWebElement($element);
	}*/

	public function newView()
	{
//		$content = file_get_contents($file);
		return new AFView();
	}
}

?>
